package com.sleep.service;

import com.sleep.model.UserInfoEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by fadinglan on 2017/4/10.
 */
public interface IUserService extends IBaseService<UserInfoEntity, Serializable> {

    /**
     * 遍历用户表
     * @return
     */
    List<UserInfoEntity> queryUser();

    /**
     * 检查用户名
     * @param account
     * @return
     */
    List<UserInfoEntity> checkAccount(String account);


    /**
     * 检查密码
     * @param password
     * @return
     */
    List<UserInfoEntity> checkPassword(String password);

    /**
     * 查询用户信息
     * @param account
     * @return
     */
    List<UserInfoEntity> getUserInfo(String account);
}
